d900024118b1d1867758ca1dacb2cd5245156f6b,src/main/java/org/spongepowered/mod/guice/SpongeGuiceModule.java,SpongeGuiceModule,configure,#,64

Before Change


        bind(Logger.class).toInstance(SpongeImpl.getLogger());

        bind(PluginContainer.class).annotatedWith(named(SpongeImpl.ECOSYSTEM_ID)).toInstance((PluginContainer) SpongeMod.instance);
        bind(PluginContainer.class).annotatedWith(named(SpongeImpl.API_ID)).to(SpongeApiContainer.class).in(Scopes.SINGLETON);
        bind(PluginContainer.class).annotatedWith(named(SpongeImpl.GAME_ID)).toInstance((PluginContainer) Loader.instance().getMinecraftModContainer());

        bind(Game.class).to(SpongeModGame.class).in(Scopes.SINGLETON);

After Change


        bind(Logger.class).toInstance(SpongeImpl.getLogger());

        bind(PluginContainer.class).annotatedWith(named(SpongeImpl.ECOSYSTEM_ID)).toInstance((PluginContainer) SpongeMod.instance);
        bind(PluginContainer.class).annotatedWith(named(SpongeImpl.API_ID)).toInstance(SpongeApiModContainer.instance);
        bind(PluginContainer.class).annotatedWith(named(SpongeImpl.GAME_ID)).toInstance((PluginContainer) Loader.instance().getMinecraftModContainer());

        bind(Game.class).to(SpongeModGame.class).in(Scopes.SINGLETON);